package com.gyl.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.gyl.dao.BaseDao;
import com.gyl.dao.DepartmentDao;
import com.gyl.domain.base.Department;
import com.gyl.service.DepartmentService;

/**  
* @Name: DepartmentServiceImpl
* @Description: 部门业务处理实现类
* @Author: 李超
* @Create Date: 2016-11-30
*/
@Transactional(readOnly=true)
@Service(DepartmentService.SERVICE_NAME)
public class DepartmentServiceImpl extends BaseServiceImpl<Department> implements DepartmentService {
	
	@Resource(name=DepartmentDao.SERVICE_NAME)
	private DepartmentDao departmentDao ; 

	@Override
	public BaseDao<Department> getBaseDao() {
		return departmentDao;
	}
	
	

}
